﻿/*
 *
 * File Name: fckplugin.js
 * 	Plugin to provide easy dialogs to upload images and files
 * 
 * File Authors:
 * 		Alfonso Martínez de Lizarrondo
 *
 * Developed for Graham Glass
 *
 * Version: 0.1 04-August-2006
 */



//注册video命令.
FCKCommands.RegisterCommand('video', new FCKDialogCommand('video', FCKLang.CodeDlgTitle, FCKPlugins.Items['easyViedo'].Path + 'fck_video/fck_video_upload.aspx',600, 500));

// 注册名为”video”的工具栏按钮
var oCodeItem = new FCKToolbarButton('video', FCKLang.CodeBtn);
oCodeItem.IconPath = FCKPlugins.Items['easyViedo'].Path + 'video_add.png';

FCKToolbarItems.RegisterItem('video', oCodeItem);


// 创建FCKCodes对象，通过FCKCodes对象处理工具栏按钮的操作
var FCKCodes = new Object() ;



